package com.huluobo.base.net

/**
 *  Created by LC on 2024/7/19.
 *  常量池
 */
class Const {
    //伴生对象
    companion object {
        const val baseUrl = "http://10.161.9.80:7012"

        const val PARAM_TOKEN = "token"

        const val URL_LOGIN = "/user/loginjson"

        const val PARAM_USERNAME = "username"

        const val PARAM_PASSWORD = "password"

        const val PARAM_REPASSWORD = "repassword"

        const val URL_REGISTER = "/user/register"

        const val MEDIA_TYPE = "application/json;charset=utf-8"

        const val URL_HOME_BANNER = "/banner/json"

        const val URL_HOME_GOODS_LIST = "/goods/info"

        const val PARAM_CATEGORY_ID = "category_id"

        const val PARAM_CURRENT_PAGE = "currentPage"

        const val PARAM_PAGE_SIZE = "pageSize"

        const val URL_HOME_NAV = "/goods/category"

        const val PARAM_GOODS_ID = "goods_id"

        const val URL_GOODS_DETAIL = "/goods/detail"

        const val PARAM_COMMENT_ID = "videoId"

        const val URL_COMMENT = "/comment/getCommentByVideoId"

        const val PARAM_COUNT = "count"

        const val URL_ADD_TO_CART = "/goods/addCar"

        const val URL_CART_LIST = "/goods/selectCar"

        const val URL_CATEGORY_LIST = "/goods/category"

        const val URL_CATEGORY_GOODS = "/goods/info"

        const val PARAM_IDS = "ids"

        const val URL_DELETE_CART = "/goods/deleteCar"

        const val URL_UPDATE_ADDRESS = "/user/updateAddress"

        const val PARAM_ADDRESS = "address"

        const val URL_UPDATE_NICKNAME = "/user/updateNickname"

        const val PARAM_NICKNAME = "nickname"

        const val URL_UPDATE_BIRTH = "/user/updateBrith"

        const val PARAM_BIRTH = "brith"

        const val URL_UPDATE_SEX = "/user/updateSex"

        const val PARAM_SEX = "sex"

        const val URL_UPDATE_ICON = "/user/updateIcon"

        const val PARAM_FILE = "file"

    }
}